package com.atung.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel("WxRegisterRequest")
public class RequestWxRegister implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7127531269182680105L;
	@NotBlank(message="用户唯一标识不能为空")
	@ApiModelProperty(value="用户唯一标识",name="wxOpenId")
	private String openId;
	
	@ApiModelProperty(value="微信名称",name="wxName")
	private String wxName;
	
	@ApiModelProperty(value="微信头像",name="wxPhoto")
	private String wxPhoto;
	
	@ApiModelProperty(value="用户性别(0未选择1男2女)",name="userSex",example="0")
	private Integer userSex;
	
	@ApiModelProperty(value="学校",name="schoolName")
	private String schoolName;
	
	
	@ApiModelProperty(value="学校id",name="schoolId")
	@JsonFormat(shape = JsonFormat.Shape.STRING)	
	private Long schoolId;
	
	@ApiModelProperty(value="手机号",name="userPhone")
	private String userPhone;
	
	@ApiModelProperty(value="用户真实姓名",name="userName")
	private String userName;
	
}
